package com.ysd.lis.entity.bac;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ysd.lis.entity.BaseEntityJpa;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * <p>
 * 微生物基础字典
 * </p>
 *
 * @author HuaiXing
 * @since 2025-03-20
 */
@Entity
@Table(name = "BAC_DRUG_NOT_REPORT")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("BAC_DRUG_NOT_REPORT")
public class BacDrugNotReport extends BaseEntityJpa {

    private static final long serialVersionUID = 1L;

    /**
     * 样本类型
     */
    @Column(name = "SAMPLE_TYPE")
    @TableField("SAMPLE_TYPE")
    private String sampleType;

    /**
     * 属
     */
    @Column(name = "GENUS")
    @TableField("GENUS")
    private String genus;

    /**
     * 微生物代号
     */
    @Column(name = "GERM_NO")
    @TableField("GERM_NO")
    private String germNo;

    /**
     * 抗生素
     */
    @Column(name = "DRUG_NO")
    @TableField("DRUG_NO")
    private String drugNo;

    @Column(name = "SEQ")
    @TableField("SEQ")
    private Integer seq;


    //敏感性编号
    @TableField("SENSITIVE_NO")
    @Column(name = "SENSITIVE_NO")
    private String sensitiveNo;

    @Transient
    @TableField(exist = false)
    private String sampleTypeName;

    @Transient
    @TableField(exist = false)
    private String genusNa;

    @Transient
    @TableField(exist = false)
    private String germNa;

    @Transient
    @TableField(exist = false)
    private String drugNa;

}
